package com.x.erp.model;

import java.util.Date;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;
import org.springframework.format.annotation.DateTimeFormat;

@MappingTable(tableName = "ERP_SHOP")
public class Shop extends BaseObject {

	private static final long serialVersionUID = 3138878984376642531L;
	@MappingColumn(columnName = "SHOP_ID", columnPk = true, columnLength = 32)
	private String shopId;

	@MappingColumn(columnName = "SHOP_NAME")
	private String shopName;// 车商名称

	@MappingColumn(columnName = "SHOP_SHORT_NAME")
	private String shopShortName;// 车商名称

	@MappingColumn(columnName = "SHOP_MOBILE")
	private String shopMobile;// 车商电话

	@MappingColumn(columnName = "SHOP_ADDRESS")
	private String shopAddress;// 车商地址

	@MappingColumn(columnName = "SHOP_LOGO")
	private String shopLogo;// 车商地址

	@MappingColumn(columnName = "SHOP_MANAGE_NAME")
	private String shopManageName;// 管理员名称

	@MappingColumn(columnName = "SHOP_MANAGE_MOBILE")
	private String shopManageMobile;// 管理员电话

	@MappingColumn(columnName = "SHOP_LEGAL_NO")
	private String shopLegalNo;// 车商法人身份证

	@MappingColumn(columnName = "SHOP_LEGAL_NAME")
	private String shopLegalName;// 车商法人姓名

	@MappingColumn(columnName = "SHOP_LEGAL_MOBILE")
	private String shopLegalMobile;// 法人联系方式

	@MappingColumn(columnName = "SHOP_PARK_NUM")
	private Integer shopParkNum;// 车位计数

	@MappingColumn(columnName = "SHOP_CAR_NUM")
	private Integer shopCarNum;// 车位计数

	@MappingColumn(columnName = "SHOP_STATE")
	private Integer shopState;// 状态，0 无效 1 有效

	@MappingColumn(columnName = "SHOP_AUCTION_STATE")
	private Integer shopAuctionState;// 车商是否可参拍状态（0：不可以参加拍卖、1：可以参加拍卖）

	@MappingColumn(columnName = "SHOP_BUSINESS_LICENSE")
	private String shopBusinessLicense;// 车商是否可参拍状态（0：不可以参加拍卖、1：可以参加拍卖）

	@MappingColumn(columnName = "SHOP_LICENSE_NO")
	private String shopLicenseNo;// 车商是否可参拍状态（0：不可以参加拍卖、1：可以参加拍卖）

	@MappingColumn(columnName = "SHOP_LICENSE_ADDRESS")
	private String shopLicenseAddress;// 车商是否可参拍状态（0：不可以参加拍卖、1：可以参加拍卖）

	@MappingColumn(columnName = "SHOP_CREATE_TIME")
	private Date shopCreateTime;// 创建时间

	@MappingColumn(columnName = "SHOP_UPDATE_TIME")
	private Date shopUpdateTime;// 修改时间

	@MappingColumn(columnName = "MARKET_ID")
	private String marketId;// 市场ID

	@MappingTable(tableName = "ERP_MARKET")
	private Market market;// 市场信息

	@MappingColumn(columnName = "SHOP_MAPPING_ID")
	private String shopMappingId;// 市场商铺ID

	@MappingColumn(columnName = "CAR_NUM", columnReadOnly = true)
	private Integer carNum;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date searchStartTime;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date searchEndTime;

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getShopShortName() {
		return shopShortName;
	}

	public void setShopShortName(String shopShortName) {
		this.shopShortName = shopShortName;
	}

	public String getShopMobile() {
		return shopMobile;
	}

	public void setShopMobile(String shopMobile) {
		this.shopMobile = shopMobile;
	}

	public String getShopAddress() {
		return shopAddress;
	}

	public void setShopAddress(String shopAddress) {
		this.shopAddress = shopAddress;
	}

	public String getShopLogo() {
		return shopLogo;
	}

	public void setShopLogo(String shopLogo) {
		this.shopLogo = shopLogo;
	}

	public String getShopLegalNo() {
		return shopLegalNo;
	}

	public void setShopLegalNo(String shopLegalNo) {
		this.shopLegalNo = shopLegalNo;
	}

	public String getShopLegalName() {
		return shopLegalName;
	}

	public void setShopLegalName(String shopLegalName) {
		this.shopLegalName = shopLegalName;
	}

	public String getShopLegalMobile() {
		return shopLegalMobile;
	}

	public void setShopLegalMobile(String shopLegalMobile) {
		this.shopLegalMobile = shopLegalMobile;
	}

	public Integer getShopParkNum() {
		return shopParkNum;
	}

	public void setShopParkNum(Integer shopParkNum) {
		this.shopParkNum = shopParkNum;
	}

	public Integer getShopCarNum() {
		return shopCarNum;
	}

	public void setShopCarNum(Integer shopCarNum) {
		this.shopCarNum = shopCarNum;
	}

	public Integer getShopState() {
		return shopState;
	}

	public void setShopState(Integer shopState) {
		this.shopState = shopState;
	}

	public Integer getShopAuctionState() {
		return shopAuctionState;
	}

	public void setShopAuctionState(Integer shopAuctionState) {
		this.shopAuctionState = shopAuctionState;
	}

	public String getShopBusinessLicense() {
		return shopBusinessLicense;
	}

	public void setShopBusinessLicense(String shopBusinessLicense) {
		this.shopBusinessLicense = shopBusinessLicense;
	}

	public String getShopLicenseNo() {
		return shopLicenseNo;
	}

	public void setShopLicenseNo(String shopLicenseNo) {
		this.shopLicenseNo = shopLicenseNo;
	}

	public String getShopLicenseAddress() {
		return shopLicenseAddress;
	}

	public void setShopLicenseAddress(String shopLicenseAddress) {
		this.shopLicenseAddress = shopLicenseAddress;
	}

	public Date getShopCreateTime() {
		return shopCreateTime;
	}

	public void setShopCreateTime(Date shopCreateTime) {
		this.shopCreateTime = shopCreateTime;
	}

	public Date getShopUpdateTime() {
		return shopUpdateTime;
	}

	public void setShopUpdateTime(Date shopUpdateTime) {
		this.shopUpdateTime = shopUpdateTime;
	}

	public String getMarketId() {
		return marketId;
	}

	public void setMarketId(String marketId) {
		this.marketId = marketId;
	}

	public Market getMarket() {
		return market;
	}

	public void setMarket(Market market) {
		this.market = market;
	}

	public String getShopMappingId() {
		return shopMappingId;
	}

	public void setShopMappingId(String shopMappingId) {
		this.shopMappingId = shopMappingId;
	}

	public String getShopManageName() {
		return shopManageName;
	}

	public void setShopManageName(String shopManageName) {
		this.shopManageName = shopManageName;
	}

	public String getShopManageMobile() {
		return shopManageMobile;
	}

	public void setShopManageMobile(String shopManageMobile) {
		this.shopManageMobile = shopManageMobile;
	}

	public Integer getCarNum() {
		return carNum;
	}

	public void setCarNum(Integer carNum) {
		this.carNum = carNum;
	}

	public Date getSearchStartTime() {
		return searchStartTime;
	}

	public void setSearchStartTime(Date searchStartTime) {
		this.searchStartTime = searchStartTime;
	}

	public Date getSearchEndTime() {
		return searchEndTime;
	}

	public void setSearchEndTime(Date searchEndTime) {
		this.searchEndTime = searchEndTime;
	}
}
